package com.xiaohui.user.designPattern.filter;

public abstract class BaseArticleFilter implements IArticleFilter {


    private void filter(ArticleContext articleContext) {
        // 过滤
        doFilter(articleContext);
        // 各种操作
        // 发送通知等等
        sendMessage();
    }

    void sendMessage() {
        System.out.println("发送通知");
    }

}
